class RangeMark
require 'socket'
include Comparable 
attr_reader :ip
def <=>(anOther)
 getTokens <=> anOther.getTokens
end
def initialize(ip)
@ip=ip
end

def getTokens()
ips=@ip.split('.');
ips.collect! {|i|i.to_i}
end
end 